home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
comm
/
irc
/
Log2Html.lha
/
Log2Html
/
Log2Html.readme
< prev
Wrap
Text File
|
1999-02-21
|
3KB
|
100 lines
Short: v0.92 AmIrc log to Html converter
Author: krzynio@fan.com (Krzysztof Koziarek)
Uploader: krzynio@fan.com (Krzysztof Koziarek)
Type: comm/irc
Requires: Kickstart 2.0+
Replaces: comm/irc/Log2Html.lha
-----------------------------------------------------------------------------
Log2Html 0.92 (21.02.99)
Author: Krzysztof Koziarek - krzynio@fan.com
This program is made for all webmasters (and esp. me:) who need simple, but
powerful AmIrc to Html log converter.
Log2Html is written in portable C (well, almost :)).
Program has been tested with Enforcer. No hits detected.
-----------------------------------------------------------------------------
And now the syntax...
Log2Html FILE/A, KIND/A, MSGS/A, BG1, BG2, COL1, COL2, COLM, BRA/S
where:
FILE/A - irc log file to convert... Log2Html will add .html to this name.
KIND/A - type of log: n - normal
c - chat/query
Determines the type of log.
MSGS/A - in this version: a - all
n - none (messages will be skipped)
b - only "bracket" texts.
Determines server/client messages converting.
BG1 - background of 1st column (nick):
#xxxxxx or #blue #red or img/back.gif or 0 when background is default.
if first character of BG1 is '#' Log2Html write <TD BGCOLOR="...."> tag
otherwise it will write <TD BACKGROUND=".....">.
BG2 - background of 2nd column, see BG1.
COL1 - colour of normal texts
COL2 - colour of own text in chat mode or action msgs (/me) in normal mode
COLM - colour of server/client messages.
BRA/S - set it when your log is "bracketed".
YOU MUST WRITE BG1, BG2 (eg .0) PARAMETERS IN COMMAND LINE IF YOU WANT TO SET
TEXT COLORS!
-----------------------------------------------------------------------------
Example of so called "bracketed" log (courtesy of OscarR) :
[00:05:50] «Bîâd» #amigapl Cannot send to channel
[00:06:02] --> Doîâczyîeô sië do kanaîu #amigapl.
[00:06:02] «Temat» Tematem kanaîu #amigapl jest Sprawdz czy i Twoj monitor
jest zgodny z rokiem 2000
I think it's clear now what is "bracketed" log.
-----------------------------------------------------------------------------
example usage:
log2html ram:ch_amisia n a #FFFFFF img/back.jpg red blue black
will convert file 'ram:ch_amisia' to 'ram:ch_amisia.html' with normal
mode and all messages. Nick column background will be white ('#FFFFFF') and
background of second column will be taken from 'img/back.jpg' file.
Normal texts will be red, '/me' messages will be blue, and server
messages will be black.
-----------------------------------------------------------------------------
I am sorry for my poor english :(
Any sugestions / bug reports please send to krzynio@fan.com
-----------------------------------------------------------------------------
History:
- 0.9 (14.02.99) - first release
- 0.91 (17.02.99) - internal version - "locale" bug reported by Andrea Favini
- 0.92 (21.02.99) - second release with new features: "bracketed" log
converting - thanks to OscarR. Also included script
for easy converting (too :) many files.